<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>员工</title>
</head>
<body>
<h1>修改员工</h1>
<form action="/updateEmp" method="post">
    员工编号：<input type="text" name="empNo" th:value="${emp.empNo}" readonly><br>
    员工名称：<input type="text" name="empName" th:value="${emp.empName}"><br>
    薪资：   <input type="text" name="salary" th:value="${emp.salary}"><br>
    入职时间:<input type="date" name="hireDate" th:value="${emp.hireDate}"><br>
    部门：   <input type="text" name="deptId" th:value="${emp.deptId}"><br>

    <input type="submit" value="修改">
</form>

</body>
</html>